<script type="text/javascript" >

    function DownloadLog(this_ele,log_path,host_id){
        //console.log(session_id);
        $.ajax({
            type: 'GET',
            url: '/host/log_download/',
            data: {log_path:log_path,host_id:host_id},
            success: function (data) {
                console.log(data);
                window.location=data;
            }

        });



    }
</script>